package com.fast.develop.meta.dm.field.catalog;

import com.fast.develop.meta.dm.field.FieldCatelog;
import com.fast.develop.meta.dm.field.FieldType;

/**
 * @author 莫寅
 * @createTime 2022-06-02 16:31
 * @desc：
 */
public class VoCatalog implements FieldCatelog {

    private String type;


    @Override
    public FieldType type() {
        return new FieldType() {
            @Override
            public String getDisplay() {
                return type;
            }

            @Override
            public String getValue() {
                return type;
            }

        };
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
